package com.zmcn.msg.bean.po;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 
 * 消息信息实体
 * 
 * @author <b>欧建东<br/>
 *         Email:oyjd@163.com</b>
 * @version 1.0
 */
@Entity
@Table(name = "T_MSG")
public class Msg implements Serializable {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 6832455971507283752L;

	/**
	 * 消息ID
	 */
	@Id
	@GeneratedValue(generator = "system-uuid")
	@GenericGenerator(name = "system-uuid", strategy = "uuid")
	@Column(name = "MSG_ID", length = 32)
	private String msgId;

	/**
	 * 消息批次ID
	 */
	@Column(name = "BATCH_ID", length = 32)
	private String batchId;

	/**
	 * 消息内容
	 */
	@Column(name = "CONTENT", length = 200)
	private String content;

	public String getMsgId() {
		return msgId;
	}

	public void setMsgId(String msgId) {
		this.msgId = msgId;
	}

	public String getBatchId() {
		return batchId;
	}

	public void setBatchId(String batchId) {
		this.batchId = batchId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

}